-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ssi): add credential issuer and credential subject id validation rules #548
feat(ssi): add credential issuer and credential subject id validation rules #548
Conversation
d4e0ec2
to
e04a2ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nits
charts/tractusx-connector/templates/deployment-controlplane.yaml
Outdated
Show resolved
Hide resolved
...c/main/java/org/eclipse/tractusx/edc/iam/ssi/miw/rule/SsiCredentialIssuerValidationRule.java
Show resolved
Hide resolved
...ain/java/org/eclipse/tractusx/edc/iam/ssi/miw/rule/SsiCredentialSubjectIdValidationRule.java
Show resolved
Hide resolved
...nt/src/test/java/org/eclipse/tractusx/edc/iam/ssi/miw/SsiMiwValidationRuleExtensionTest.java
Outdated
Show resolved
Hide resolved
...nt/src/test/java/org/eclipse/tractusx/edc/iam/ssi/miw/SsiMiwValidationRuleExtensionTest.java
Outdated
Show resolved
Hide resolved
...st/java/org/eclipse/tractusx/edc/iam/ssi/miw/rule/SsiCredentialIssuerValidationRuleTest.java
Show resolved
Hide resolved
c21c250
to
24eeffe
Compare
c5b31c7
to
913fc87
Compare
913fc87
to
1631ab7
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… rules (#548) * feat(Ssi): add credential issuer and credential subject id validation rules * fix after review * fix helm tests
… rules (eclipse-tractusx#548) * feat(Ssi): add credential issuer and credential subject id validation rules * fix after review * fix helm tests
WHAT
Adds two more validation rule in the validation pipeline:
SsiCredentialIssuerValidationRule
checks that the issuer of the credential matches the configured one.SsiCredentialSubjectIdValidationRule
checks that the issuer of the VP matches the credential subject id of the VCWHY
Probably those checks are duplicated with MIW, but in case we also would want to check that on our side.
By default the
authorityIssuer
is composed with `did:web::